package com.tangmu.rabbits.bean;

/**
 * Created by Administrator on 2018/4/26.
 */

public class MessageBean {

    private String title; //系统消息
    private String content; //正文
    private int type;
    private int img;
    private String time; //时间

    public MessageBean(String title, String content, int type, int img, String time) {
        this.title = title;
        this.content = content;
        this.type = type;
        this.img = img;
        this.time = time;
    }

    public String getTitle() {
        return title == null ? "" : title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content == null ? "" : content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getImg() {
        return img;
    }

    public void setImg(int img) {
        this.img = img;
    }

    public String getTime() {
        return time == null ? "" : time;
    }

    public void setTime(String time) {
        this.time = time;
    }
}
